package cn.gson.fengboot.model.dao;


import cn.gson.fengboot.model.pojos.Ddepandmenus;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface DdepandmenusDao extends CrudRepository<Ddepandmenus,Integer> {

    List<Ddepandmenus> findAllByDepId(Integer depId);

    void deleteAllByDepId(Integer depId);
}
